<div class='fui-page fui-page-current member-log-page'>
    <div class='fui-content'>
        <div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
            <i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
        </div>
        <div class='fui-list-group container' style="margin-top:0" ng-show="pagedata.list.length>0" >
			<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
				<div class="fui-list-inner">
					<div class='title'>
						<span class="label label-success">{{item.typetitle}}</span>
						<span class="red" style="margin-left:0.3rem">{{item.getprice}}</span>
						<span class="gray" style="font-size:0.6rem;"> 元</span>
						<span class="gray" style="margin-left:0.2rem;font-size:0.6rem;"> (手续费：￥{{item.charges}})</span>
					</div>
					<div class='gray'>{{item.createtime}}</div>
					<div class='gray' style="background:#f2f2f2;border-radius:0.2rem;margin-top:0.2rem;font-size:0.6rem">备注：{{item.remark || '无备注'}}</div>
				</div>
				<div class='fui-list-angle'>
					<div class="label label-success" style="display: block;">{{item.statustitle}}</div>
					<div ng-if="item.status==2" href="javascript:;" ng-click="pagedata.post.id=item.id;pagedata.showremark=true;" class='btn btn-sm btn-default-o' style="margin-top:0.2rem">重新申请</div>
				</div>
			</div>
		</div>
    </div>
</div>
<div ng-if="pagedata.showremark" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showremark=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:auto;font-size:0.9rem">重新申请说明</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info c000">
						<textarea rows="5" placeholder="50字以内（选填）" ng-model="pagedata.post.remark"></textarea>
					</div>
				</div>
			</div>
			<div class="fui-navbar">
				<a href="javascript:;" ng-click="post(pagedata.post,'/cash_log/post/')"  aria-hidden="true" data-dismiss="modal" class="nav-item btn btn-danger confirmbtn">确定申请</a>
			</div>
		</div>
	</div>
</div>
<script>
scope.tool.get_list('jy_peisong/cash_log/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_peisong/cash_log/list/');
}
</script>